package controllers

import (
	"github.com/astaxie/beego"
	//"fmt"
	//"beego/testApp/common/user"
	//"strconv"
//	"beego/testApp/common/tool"
    "beego/testApp/common"
)

type MenuListController struct {
	beego.Controller
}



func (c *MenuListController) Get() {

	menuobj := &common.Menu{}
	menulist := menuobj.GetMenuList()
	 
    c.Data["mlist"] = menulist
	c.TplName = "menulist.html"
}
